From: Florian Müllner Date: Fri, 11 Aug 2017 14:48:05 +0000 (+0200) Subject: build: Only include enum header in libst dependency X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~139 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9fc6caeffb4cf0a84d0763500485d1de1ae8792b;p=gnome-shell.git build: Only include enum header in libst dependency Compiling the generated source for each consumer of the dependency means we end up trying to register the enum types multiple times, resulting in a fatal failure on startup. Luckily code outside libst itself only depends on the header, which doesn't cause those issues. --- diff --git a/src/st/meson.build b/src/st/meson.build index 63fc442c0..46378a2f1 100644 --- a/src/st/meson.build +++ b/src/st/meson.build @@ -128,7 +128,7 @@ libst = shared_library('st-1.0', ) libst_dep = declare_dependency(link_with: libst, - sources: st_enums + sources: st_enums[1] ) test_theme = executable('test-theme',